<%--
  Created by IntelliJ IDEA.
  User: t430
  Date: 2018/7/30
  Time: 11:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


<html>
<head>
    <head>
        <meta charset="UTF-8">
        <link rel="stylesheet" href="${pageContext.request.contextPath}/statics/css/common.css">
        <link rel="stylesheet" href="${pageContext.request.contextPath}/statics/css/main.css">
        <script type="text/javascript" src="${pageContext.request.contextPath}/statics/js/jquery.min.js"></script>
        <script type="text/javascript" src="${pageContext.request.contextPath}/statics/js/colResizable-1.3.min.js"></script>
        <script type="text/javascript" src="${pageContext.request.contextPath}/statics/js/common.js"></script>

        <script type="text/javascript">
            $(function(){
                $(".list_table").colResizable({
                    liveDrag:true,
                    gripInnerHtml:"<div class='grip'></div>",
                    draggingClass:"dragging",
                    minWidth:30
                });

            });
        </script>
        <title>Document</title>
    </head>
<body>
<div class="container">





    <div id="forms" class="mt10">
        <div class="box">
            <div class="box_border">
                <div class="box_top"><b class="pl15">表单</b></div>
                <div class="box_center">
                    <form action="${pageContext.request.contextPath}/newstype/doadd" method="post" class="jqtransform">
                        <table class="form_table pt15 pb15" width="100%" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td class="td_right">类别名称：</td>
                                <td class="">
                                    <input type="text" name="typeName" class="input-text lh30" size="40">
                                </td>

                            </tr>
                            <tr >
                                <td class="td_right">父类别：</td>
                                <td class="">

                    <span class="fl">
                      <div class="select_border">
                        <div class="select_containers ">
                        <select name="parentId" class="select">
                    <option value="0">==请选择==</option>
                    <c:forEach var="item" items="${plist}">
                        <option value="${item.id}">${item.typeName}</option>

                    </c:forEach>
                        </select>
                        </div>
                      </div>
                    </span>
                                </td>
                            </tr>

                            <tr>
                                <td class="td_right">&nbsp;</td>
                                <td class="">
                                    <input type="submit" name="button" class="btn btn82 btn_save2" value="保存">
                                    <%--<input type="button" name="button" class="btn btn82 btn_res" value="重置">--%>
                                </td>
                            </tr>
                        </table>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
